/**
 * Copyright (C), 2018-2020, 融联网络有限公司
 * FileName: EnumDemo
 * Author:   xbliu
 * Date:     2020/7/2 14:20
 * Description: 枚举例子
 * History:
 * <author>          <time>          <version>          <desc>
 * xbliu           修改时间           版本号              描述
 */
package c_008.enumdemo;/**
 * @Classname EnumDemo
 * @Description TODO
 * @Date 2020/7/2 14:20
 * @Created by xbliu
 */

/**
 * 〈一句话功能简述〉<br>
 * 〈枚举例子〉
 *
 * @author xbliu
 * @create 2020/7/2
 * @since 1.0.0
 */
public enum EnumDemo {
    LAUNCH("launch"),FLAG("flag");
    private String name;
    EnumDemo(String name) {
        this.name = name;
    }

    public void show() {
        System.out.println(this.name);
        EnumDemo ee[]=values();
        for (int i = 0; i < ee.length; i++) {
            System.out.println(ee[i]);
        }
    }


}
